import 'package:finance_app/generated/json/base/json_convert_content.dart';
import 'package:finance_app/generated/json/base/json_field.dart';

class PromoCodeEntity with JsonConvert<PromoCodeEntity> {
	int id;
	String name;
	String code;
	@JSONField(name: "discount_type")
	String discountType;
	@JSONField(name: "discount_value")
	num discountValue;
	int limit;
	@JSONField(name: "limit_used")
	int limitUsed;
	@JSONField(name: "expired_at")
	dynamic expiredAt;
	@JSONField(name: "created_at")
	String createdAt;
	@JSONField(name: "updated_at")
	String updatedAt;
	@JSONField(name: "deleted_at")
	dynamic deletedAt;
}
